package siberia.ast.stmt;

import siberia.ast.expr.Expr;

public class ForStmt extends Stmt {
    public Expr beginExpr;
    public Expr endExpr;
    public Expr stepExpr;
    public Block block;

    public ForStmt(Expr beginExpr, Expr endExpr, Expr stepExpr, Block block, int line) {
        this.beginExpr = beginExpr;
        this.endExpr = endExpr;
        this.stepExpr = stepExpr;
        this.block = block;
        this.line = line;
    }

    public StmtType type() {
        return StmtType.ForStmt;
    }
}
